<?php

namespace app\index\controller\test;

use app\common\service\TransfersServer;
use app\common\traits\AreaTrait;
use ShidianUtil\Thinkphp\Response\ApiResponse;
use think\APP;

/**
 * Test 控制器
 * Class Test
 * @package app\index\controller\test;
 * @link https://www.kancloud.cn/manual/thinkphp6_0/1037509
 */
class Test
{
    use AreaTrait;

    public function index(TransfersServer $transfersServer)
    {
        $id = 302;

        // $result = $transfersServer->retryBatchTransfer($id);

        return ApiResponse::success($result);
    }

}
